<template>
  <!-- 列表页面 -->
  <view class="list-item">
    <slot name="title"></slot>
    <view :class="{'iconfont iconfanhui' : showInoic}">
      <slot name="desc"></slot>
    </view>
  </view>
</template>
<script>
export default {
  // name: '列表页面',
  props: {
    list: {
      type: Array,
      default() {
        return [];
      }
    },
    showInoic: {
      type: Boolean,
      default: true
    }
  },
  methods: {}
};
</script>

<style lang="scss">
.list-item {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ededed;
  align-items: center;
  height: 109rpx;
  font-size: 28rpx;
  color: #333;
  font-weight: 500;
  .iconfont {
    font-size: 28rpx;
    color: #999;
    &::after {
      font-size: 20rpx;
      padding-left: 16rpx;
    }
  }
}
</style>
